<template>
    <div v-if="show" class="permission-layer">
      <span>🔒权限不足</span>
    </div>
  </template>
  
  <script>
  export default {
    props: {
      show: {
        type: Boolean,
        default: false
      }
    }
  };
  </script>
  
  <style scoped>
  .permission-layer {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: white;;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: gray;
    font-size: 40px;
  }
  </style>